import http from '@/utils/http'
export const getBanner = (params = {})=>{
    //默认为1  商品为2
    const { distributionSite = '1'} = params
    return http({
        url:'/home/banner',
        params:{
            distributionSite
        }
    })
}
export const getGoods = ()=>{
    return http({
        url:'/home/goods'
    })
}